﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace UtilsORM.MySqlData;

[Index("lp_code", Name = "lp_c_code")]
[Index("lp_guid", Name = "lp_c_guid")]
[Index("lp_p_guid", Name = "lp_p_guid")]
[MySqlCharSet("utf8mb3")]
[MySqlCollation("utf8mb3_general_ci")]
public partial class bs_language_product_alone
{
    [Key]
    public long lp_id { get; set; }

    /// <summary>
    /// iot_product
    /// </summary>
    [StringLength(50)]
    public string lp_p_guid { get; set; }

    [Column(TypeName = "datetime")]
    public DateTime? lp_add_time { get; set; }

    /// <summary>
    /// bs_language_config
    /// </summary>
    [StringLength(50)]
    public string lp_guid { get; set; }

    [StringLength(255)]
    public string lp_name { get; set; }

    public int? lp_code { get; set; }

    /// <summary>
    /// 0独立库 200，1来自共公库1000
    /// </summary>
    public int? lp_type { get; set; }
}
